/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package homeworld.demo01;

/**
 *
 * @author Administrator
 */
public class BooksDemo {
     private String isbn;
    private String title;
    private float price;

    private BooksDemo(String string, String string0, String string1) {
        throw new UnsupportedOperationException("Not yet implemented");
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BooksDemo(String isbn, String title, float price) {
        this.isbn = isbn;
        this.title = title;
        this.price = price;
    }
    public void displary(){
    BooksDemo a=new BooksDemo("ISBN 978-7-5045-8329-1","Java程序设计基础-Java小管家系统构建","37");
            System.out.println("isbn:"+this.getIsbn());   
            System.out.println("title:"+this.getTitle());
            System.out.println("price:"+this.getPrice()); 
}
    
            
      }

